package com.kinghood.productcenter.common.model.dao.product;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.apache.poi.ss.usermodel.Picture;

/**
 * <p>
 * 商品款式基础表
 * </p>
 *
 * @author KingHood
 * @since 2023-12-20
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("product_base")
public class ProductBaseDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品id
     */
    @TableId("id")
    private Long id;

    /**
     * 款号
     */
    @TableField("style_number")
    private String styleNumber;

    /**
     * 款式名
     */
    @TableField("style_name")
    private String styleName;

    /**
     * 商品状态（0：未启用；1：待上市；2：在售；3：下架）
     */
    @TableField("status")
    private Integer status;

    /**
     * 品牌id
     */
    @TableField("brand_id")
    private Long brandId;

    /**
     * 货类id
     */
    @TableField("goods_id")
    private Long goodsId;

    /**
     * 品类id
     */
    @TableField("category_id")
    private Long categoryId;

    /**
     * 编码后缀
     */
    @TableField("code_suffix")
    private Long codeSuffix;

    /**
     * 商品模板
     */
    @TableField(value = "product_template_id",updateStrategy = FieldStrategy.ALWAYS)
    private Long productTemplateId;

    /**
     * 工厂图
     */
    @TableField(value = "factory_picture",updateStrategy = FieldStrategy.ALWAYS)
    private String factoryPicture;

    /**
     * 手拍图
     */
    @TableField(value = "hand_picture",updateStrategy = FieldStrategy.ALWAYS)
    private String handPicture;

    /**
     * 高清图
     */
    @TableField(value = "hd_picture",updateStrategy = FieldStrategy.ALWAYS)
    private String hdPicture;

    /**
     * 运营图
     */
    @TableField(value = "operation_picture",updateStrategy = FieldStrategy.ALWAYS)
    private String operationPicture;

    /**
     * 3D图
     */
    @TableField(value = "picture_3D",updateStrategy = FieldStrategy.ALWAYS)
    private String picture3D;

    /**
     * 视屏
     */
    @TableField(value = "video",updateStrategy = FieldStrategy.ALWAYS)
    private String video;

    /**
     * 刻字
     */
    @TableField(value = "lettering",updateStrategy = FieldStrategy.ALWAYS)
    private String lettering;

    /**
     * 图案
     */
    @TableField(value = "pattern",updateStrategy = FieldStrategy.ALWAYS)
    private String pattern;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;

    /**
     * 创建人人id
     */
    @TableField("create_user_id")
    private Long createUserId;

    /**
     * 最后修改人id
     */
    @TableField("update_user_id")
    private Long updateUserId;

    /**
     * 是否删除：0未删除；1已删除
     */
    @TableField("is_delete")
    private Integer isDelete;
}
